home *** CD-ROM | disk | FTP | other *** search
- Path: casbah.acns.nwu.edu!muzaffar
- From: muzaffar@casbah.acns.nwu.edu (Usman Muzaffar)
- Newsgroups: comp.lang.c
- Subject: Re: Very Simple <maths.h> problem...
- Date: 29 Mar 1996 23:04:42 GMT
- Organization: Northwestern University, Evanston IL
- Message-ID: <4jhqaa$d7i@news.acns.nwu.edu>
- References: <4jf0c9$rs8@nic.umass.edu>
- NNTP-Posting-Host: casbah.acns.nwu.edu
-
- In article <4jf0c9$rs8@nic.umass.edu>,
- Eugene K Hall <ekh@asimov.oit.umass.edu> wrote:
- >Hi there. I'm getting these errors for a program. It's pathetically easy,
- >but I can't seem to rectify it. If anyone could help, it would be great:
- >
- >It's supposed to work, the man page lists exp() as a valid math.h funct.
- >??
- >
- >Errors:
- >------
- >
- >asimov% !cc
- >cc int.c
- >ld:
- >Unresolved:
- >exp
- >
-
- I'm not sure I understand the reasoning behind forcing people to read FAQs.
- It doesn't help. Instead of getting the same stupid newbie questions over and
- over again, we just get angry experts yelling at people to read FAQs.
-
- Just answer the question. Eugene, you need to use "cc int.c -lm"
-
- End of story.
- -usman
-